import request from '@/utils/request'


/**
 * 查询商品品牌分类关联表列表-有分页
 * @param {Object} param 查询对象
 */
export function findRelationBrandCategoryPageList(param) {
	return request({
		url: '/api/relationBrandCategory/findRelationBrandCategoryPageList',
		method: 'get',
		params: param
	})
}

/**
 * 查询商品品牌分类关联表列表-无分页
 * @param {Object} param
 */
export function findRelationBrandCategoryList(param) {
	return request({
		url: '/api/relationBrandCategory/findRelationBrandCategoryList',
		method: 'get',
		params: param
	})
}

/**
 * 新增商品品牌分类关联表
 * @param {Object} data 对象参数
 */
export function addRelationBrandCategory(data) {
	return request({
		url: '/api/relationBrandCategory/addRelationBrandCategory',
		method: 'post',
		data: data
	})
}


/**
 * 删除商品品牌分类关联表
 * @param {Object} id 主键编号
 */
export function removeRelationBrandCategory(id) {
	return request({
		url: '/api/relationBrandCategory/removeRelationBrandCategory/' + id,
		method: 'post',
	})
}

